/* Copyright 2018 JDCLOUD.COM

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:#www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.





Contact: 

NOTE: This class is auto generated by the jdcloud code generator program.
*/

 

#ifndef PartnerModel_h
#define PartnerModel_h

@interface PrePaymentAchievement :NSObject

/// pin
@property (strong,nonatomic,nonnull)  NSString*  pin;

/// 名称
@property (strong,nonatomic,nonnull)  NSString*  name;

/// 真实名称
@property (strong,nonatomic,nonnull)  NSString*  realName;

/// serviceCode
@property (strong,nonatomic,nonnull)  NSString*  serviceCode;

/// serviceCodeName
@property (strong,nonatomic,nonnull)  NSString*  serviceCodeName;

/// 时间
@property (strong,nonatomic,nonnull)  NSString*  consumeDate;

/// 优惠前金额
@property (strong,nonatomic,nonnull)  NSNumber*  consumeCount;

/// 现金支付
@property (strong,nonatomic,nonnull)  NSNumber*  cashPayFeeCount;

/// 业绩金额
@property (strong,nonatomic,nonnull)  NSNumber*  achievmentCount;

/// 付费代金卷金额
@property (strong,nonatomic,nonnull)  NSNumber*  payCouponFeeCount;

/// 免费代金卷金额
@property (strong,nonatomic,nonnull)  NSNumber*  freeCouponFeeCount;

/// 订单编号
@property (strong,nonatomic,nonnull)  NSNumber*  orderId;

/// 类型
@property (strong,nonatomic,nonnull)  NSNumber*  opType;

/// 类型名称
@property (strong,nonatomic,nonnull)  NSString*  opTypeName;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  billTime;


-(id) initWithPin:(NSString*) pin
    name:(NSString*)name
    realName:(NSString*)realName
    serviceCode:(NSString*)serviceCode
    serviceCodeName:(NSString*)serviceCodeName
    consumeDate:(NSString*)consumeDate
    consumeCount:(NSNumber*)consumeCount
    cashPayFeeCount:(NSNumber*)cashPayFeeCount
    achievmentCount:(NSNumber*)achievmentCount
    payCouponFeeCount:(NSNumber*)payCouponFeeCount
    freeCouponFeeCount:(NSNumber*)freeCouponFeeCount
    orderId:(NSNumber*)orderId
    opType:(NSNumber*)opType
    opTypeName:(NSString*)opTypeName
    billTime:(NSString*)billTime;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface OperatorAchievement :NSObject

/// pin
@property (strong,nonatomic,nonnull)  NSString*  pin;

/// 名称
@property (strong,nonatomic,nonnull)  NSString*  name;

/// 真实名称
@property (strong,nonatomic,nonnull)  NSString*  realName;

/// 一级服务商名称
@property (strong,nonatomic,nonnull)  NSString*  oneLevelDistributorName;

/// 二级服务商名称
@property (strong,nonatomic,nonnull)  NSString*  secondLevelDistributorName;

/// 部门
@property (strong,nonatomic,nonnull)  NSNumber*  dept;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 服务商类型
@property (strong,nonatomic,nonnull)  NSString*  distributorType;

/// 服务商类型名称
@property (strong,nonatomic,nonnull)  NSString*  distributorTypeName;

/// 上级服务商名称
@property (strong,nonatomic,nonnull)  NSString*  superDistributorName;

/// 上级服务商pin
@property (strong,nonatomic,nonnull)  NSString*  superDistributorPin;

/// serviceCode
@property (strong,nonatomic,nonnull)  NSString*  serviceCode;

/// serviceCodeName
@property (strong,nonatomic,nonnull)  NSString*  serviceCodeName;

/// 时间
@property (strong,nonatomic,nonnull)  NSString*  consumeDate;

/// 优惠前金额
@property (strong,nonatomic,nonnull)  NSNumber*  consumeCount;

/// 现金支付
@property (strong,nonatomic,nonnull)  NSNumber*  cashPayFeeCount;

/// 业绩金额
@property (strong,nonatomic,nonnull)  NSNumber*  achievmentCount;

/// 付费代金卷金额
@property (strong,nonatomic,nonnull)  NSNumber*  payCouponFeeCount;

/// 免费代金卷金额
@property (strong,nonatomic,nonnull)  NSNumber*  freeCouponFeeCount;


-(id) initWithPin:(NSString*) pin
    name:(NSString*)name
    realName:(NSString*)realName
    oneLevelDistributorName:(NSString*)oneLevelDistributorName
    secondLevelDistributorName:(NSString*)secondLevelDistributorName
    dept:(NSNumber*)dept
    deptName:(NSString*)deptName
    distributorType:(NSString*)distributorType
    distributorTypeName:(NSString*)distributorTypeName
    superDistributorName:(NSString*)superDistributorName
    superDistributorPin:(NSString*)superDistributorPin
    serviceCode:(NSString*)serviceCode
    serviceCodeName:(NSString*)serviceCodeName
    consumeDate:(NSString*)consumeDate
    consumeCount:(NSNumber*)consumeCount
    cashPayFeeCount:(NSNumber*)cashPayFeeCount
    achievmentCount:(NSNumber*)achievmentCount
    payCouponFeeCount:(NSNumber*)payCouponFeeCount
    freeCouponFeeCount:(NSNumber*)freeCouponFeeCount;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface ReturnPolicyResult :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 部门ID
@property (strong,nonatomic,nonnull)  NSNumber*  deptId;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 渠道商类型
@property (strong,nonatomic,nonnull)  NSNumber*  distributorType;

/// 渠道商类型名称
@property (strong,nonatomic,nonnull)  NSString*  distributorTypeName;

/// 返还类型
@property (strong,nonatomic,nonnull)  NSNumber*  returnType;

/// 项目编码
@property (strong,nonatomic,nonnull)  NSNumber*  itemId;

/// 项目名称
@property (strong,nonatomic,nonnull)  NSString*  itemName;

/// 周期类型
@property (strong,nonatomic,nonnull)  NSNumber*  circleType;

/// 周期名称
@property (strong,nonatomic,nonnull)  NSString*  circleName;

/// 指定周期标识
@property (strong,nonatomic,nonnull)  NSNumber*  circleFlag;

/// 周期值
@property (strong,nonatomic,nonnull)  NSNumber*  circleValue;

/// 返还项目条件
@property (strong,nonatomic,nonnull)  NSString*  condition;

/// 说明
@property (strong,nonatomic,nonnull)  NSString*  conditionRemark;

/// 返还比例
@property (strong,nonatomic,nonnull)  NSNumber*  returnRatio;

/// 状态
@property (strong,nonatomic,nonnull)  NSNumber*  status;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;


-(id) initWithId:(NSNumber*) idValue
    deptId:(NSNumber*)deptId
    deptName:(NSString*)deptName
    distributorType:(NSNumber*)distributorType
    distributorTypeName:(NSString*)distributorTypeName
    returnType:(NSNumber*)returnType
    itemId:(NSNumber*)itemId
    itemName:(NSString*)itemName
    circleType:(NSNumber*)circleType
    circleName:(NSString*)circleName
    circleFlag:(NSNumber*)circleFlag
    circleValue:(NSNumber*)circleValue
    condition:(NSString*)condition
    conditionRemark:(NSString*)conditionRemark
    returnRatio:(NSNumber*)returnRatio
    status:(NSNumber*)status
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface Achievement :NSObject

/// pin
@property (strong,nonatomic,nonnull)  NSString*  pin;

/// 名称
@property (strong,nonatomic,nonnull)  NSString*  name;

/// 真实名称
@property (strong,nonatomic,nonnull)  NSString*  realName;

/// serviceCode
@property (strong,nonatomic,nonnull)  NSString*  serviceCode;

/// serviceCodeName
@property (strong,nonatomic,nonnull)  NSString*  serviceCodeName;

/// 时间
@property (strong,nonatomic,nonnull)  NSString*  consumeDate;

/// 优惠前金额
@property (strong,nonatomic,nonnull)  NSNumber*  consumeCount;

/// 现金支付
@property (strong,nonatomic,nonnull)  NSNumber*  cashPayFeeCount;

/// 业绩金额
@property (strong,nonatomic,nonnull)  NSNumber*  achievmentCount;

/// 付费代金卷金额
@property (strong,nonatomic,nonnull)  NSNumber*  payCouponFeeCount;

/// 免费代金卷金额
@property (strong,nonatomic,nonnull)  NSNumber*  freeCouponFeeCount;


-(id) initWithPin:(NSString*) pin
    name:(NSString*)name
    realName:(NSString*)realName
    serviceCode:(NSString*)serviceCode
    serviceCodeName:(NSString*)serviceCodeName
    consumeDate:(NSString*)consumeDate
    consumeCount:(NSNumber*)consumeCount
    cashPayFeeCount:(NSNumber*)cashPayFeeCount
    achievmentCount:(NSNumber*)achievmentCount
    payCouponFeeCount:(NSNumber*)payCouponFeeCount
    freeCouponFeeCount:(NSNumber*)freeCouponFeeCount;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface ReturnConditionOperatorDTO :NSObject

/// 条件编码
@property (strong,nonatomic,nonnull)  NSNumber*  code;

/// 操作符
@property (strong,nonatomic,nonnull)  NSString*  operatorValue;

/// 条件值
@property (strong,nonatomic,nonnull)  NSNumber*  value;


-(id) initWithCode:(NSNumber*) code
    operatorValue:(NSString*)operatorValue
    value:(NSNumber*)value;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface DicDetailQuery :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 字典类型
@property (strong,nonatomic,nonnull)  NSString*  codeType;

/// 字典编码
@property (strong,nonatomic,nonnull)  NSString*  code;

/// 字典编码名称
@property (strong,nonatomic,nonnull)  NSString*  name;

/// 字典编码值
@property (strong,nonatomic,nonnull)  NSString*  value;

/// null
@property (strong,nonatomic,nonnull)  NSNumber*  useFlag;

/// 系统类型
@property (strong,nonatomic,nonnull)  NSString*  systemType;

/// 引用值
@property (strong,nonatomic,nonnull)  NSString*  refValue;

/// 顺序
@property (strong,nonatomic,nonnull)  NSNumber*  seq;

/// 字典说明
@property (strong,nonatomic,nonnull)  NSString*  remark;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;

/// 当前页序号
@property (strong,nonatomic,nonnull)  NSNumber*  pageIndex;

/// 每页结果数量
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;

/// Offset
@property (strong,nonatomic,nonnull)  NSNumber*  offset;


-(id) initWithId:(NSNumber*) idValue
    codeType:(NSString*)codeType
    code:(NSString*)code
    name:(NSString*)name
    value:(NSString*)value
    useFlag:(NSNumber*)useFlag
    systemType:(NSString*)systemType
    refValue:(NSString*)refValue
    seq:(NSNumber*)seq
    remark:(NSString*)remark
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn
    pageIndex:(NSNumber*)pageIndex
    pageSize:(NSNumber*)pageSize
    offset:(NSNumber*)offset;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface CustomerVo :NSObject

/// 客户pin
@property (strong,nonatomic,nonnull)  NSString*  pin;

/// 一级渠道商名称
@property (strong,nonatomic,nonnull)  NSString*  distributorLevel1Name;

/// 二级渠道商名称
@property (strong,nonatomic,nonnull)  NSString*  distributorLevel2Name;

/// 关联时间
@property (strong,nonatomic,nonnull)  NSString*  relTime;

/// 来源(0渠道商自身,1京东云客户)
@property (strong,nonatomic,nonnull)  NSNumber*  source;

/// 客户昵称
@property (strong,nonatomic,nonnull)  NSString*  aliasName;

/// 客户联系人
@property (strong,nonatomic,nonnull)  NSString*  contracter;

/// 客户电话
@property (strong,nonatomic,nonnull)  NSString*  tel;

/// 客户邮箱
@property (strong,nonatomic,nonnull)  NSString*  email;

/// 客户备注
@property (strong,nonatomic,nonnull)  NSString*  remark;

/// 所属部门(0企业线、1政府线)
@property (strong,nonatomic,nonnull)  NSNumber*  dept;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 账户类型
@property (strong,nonatomic,nonnull)  NSString*  accountTypeName;

/// 实名标识名称
@property (strong,nonatomic,nonnull)  NSString*  realName;

/// 名称
@property (strong,nonatomic,nonnull)  NSString*  name;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;


-(id) initWithPin:(NSString*) pin
    distributorLevel1Name:(NSString*)distributorLevel1Name
    distributorLevel2Name:(NSString*)distributorLevel2Name
    relTime:(NSString*)relTime
    source:(NSNumber*)source
    aliasName:(NSString*)aliasName
    contracter:(NSString*)contracter
    tel:(NSString*)tel
    email:(NSString*)email
    remark:(NSString*)remark
    dept:(NSNumber*)dept
    deptName:(NSString*)deptName
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    accountTypeName:(NSString*)accountTypeName
    realName:(NSString*)realName
    name:(NSString*)name
    updateUser:(NSString*)updateUser;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface ReturnItemDTO :NSObject

/// Id
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 项目编码
@property (strong,nonatomic,nonnull)  NSNumber*  itemId;

/// 项目名称
@property (strong,nonatomic,nonnull)  NSString*  itemName;

/// 部门ID
@property (strong,nonatomic,nonnull)  NSNumber*  deptId;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 渠道商类型
@property (strong,nonatomic,nonnull)  NSNumber*  distributorType;

/// 返还类型
@property (strong,nonatomic,nonnull)  NSNumber*  returnType;

/// 项目条件
@property (strong,nonatomic,nonnull)  NSString*  conditionItem;

/// 周期类型
@property (strong,nonatomic,nonnull)  NSNumber*  circleType;

/// 周期名称
@property (strong,nonatomic,nonnull)  NSString*  circleName;

/// 说明
@property (strong,nonatomic,nonnull)  NSString*  remark;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;

/// 项目名称
@property (strong,nonatomic,nonnull)  NSString*  itemNameLike;


-(id) initWithId:(NSNumber*) idValue
    itemId:(NSNumber*)itemId
    itemName:(NSString*)itemName
    deptId:(NSNumber*)deptId
    deptName:(NSString*)deptName
    distributorType:(NSNumber*)distributorType
    returnType:(NSNumber*)returnType
    conditionItem:(NSString*)conditionItem
    circleType:(NSNumber*)circleType
    circleName:(NSString*)circleName
    remark:(NSString*)remark
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn
    itemNameLike:(NSString*)itemNameLike;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface OperateAuthorityQuery :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 部门ID
@property (strong,nonatomic,nonnull)  NSNumber*  deptId;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 操作人
@property (strong,nonatomic,nonnull)  NSString*  operatorValue;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;

/// 当前页序号
@property (strong,nonatomic,nonnull)  NSNumber*  pageIndex;

/// 每页结果数量
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;

/// Offset
@property (strong,nonatomic,nonnull)  NSNumber*  offset;


-(id) initWithId:(NSNumber*) idValue
    deptId:(NSNumber*)deptId
    deptName:(NSString*)deptName
    operatorValue:(NSString*)operatorValue
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn
    pageIndex:(NSNumber*)pageIndex
    pageSize:(NSNumber*)pageSize
    offset:(NSNumber*)offset;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface ReturnBillDetailResult :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 服务商ID
@property (strong,nonatomic,nonnull)  NSString*  distributorId;

/// 渠道商类型
@property (strong,nonatomic,nonnull)  NSNumber*  distributorType;

/// 生成时间
@property (strong,nonatomic,nonnull)  NSString*  generateTime;

/// 返还类型
@property (strong,nonatomic,nonnull)  NSNumber*  returnType;

/// 返还项目ID
@property (strong,nonatomic,nonnull)  NSNumber*  itemId;

/// 返还项目名称
@property (strong,nonatomic,nonnull)  NSString*  itemName;

/// 周期类型
@property (strong,nonatomic,nonnull)  NSNumber*  circleType;

/// 周期名称
@property (strong,nonatomic,nonnull)  NSNumber*  circleName;

/// 周期值
@property (strong,nonatomic,nonnull)  NSNumber*  circleValue;

/// 周期值名称
@property (strong,nonatomic,nonnull)  NSString*  circleValueName;

/// 开始时间
@property (strong,nonatomic,nonnull)  NSString*  circleBegin;

/// 结束时间
@property (strong,nonatomic,nonnull)  NSString*  circleEnd;

/// 返还金额
@property (strong,nonatomic,nonnull)  NSNumber*  returnMount;

/// 业绩金额
@property (strong,nonatomic,nonnull)  NSNumber*  amount;

/// 条件值
@property (strong,nonatomic,nonnull)  NSString*  conditionValue;

/// 条件值名称
@property (strong,nonatomic,nonnull)  NSString*  conditionValueName;

/// 是否返还标识
@property (strong,nonatomic,nonnull)  NSNumber*  returnFlag;

/// 返还比例
@property (strong,nonatomic,nonnull)  NSNumber*  returnRatio;

/// 返还比例名称
@property (strong,nonatomic,nonnull)  NSString*  returnRatioName;

/// 返还单号
@property (strong,nonatomic,nonnull)  NSString*  returnOrderId;

/// 部门ID
@property (strong,nonatomic,nonnull)  NSNumber*  deptId;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 状态
@property (strong,nonatomic,nonnull)  NSNumber*  status;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;


-(id) initWithId:(NSNumber*) idValue
    distributorId:(NSString*)distributorId
    distributorType:(NSNumber*)distributorType
    generateTime:(NSString*)generateTime
    returnType:(NSNumber*)returnType
    itemId:(NSNumber*)itemId
    itemName:(NSString*)itemName
    circleType:(NSNumber*)circleType
    circleName:(NSNumber*)circleName
    circleValue:(NSNumber*)circleValue
    circleValueName:(NSString*)circleValueName
    circleBegin:(NSString*)circleBegin
    circleEnd:(NSString*)circleEnd
    returnMount:(NSNumber*)returnMount
    amount:(NSNumber*)amount
    conditionValue:(NSString*)conditionValue
    conditionValueName:(NSString*)conditionValueName
    returnFlag:(NSNumber*)returnFlag
    returnRatio:(NSNumber*)returnRatio
    returnRatioName:(NSString*)returnRatioName
    returnOrderId:(NSString*)returnOrderId
    deptId:(NSNumber*)deptId
    deptName:(NSString*)deptName
    status:(NSNumber*)status
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface ExtraInfo :NSObject

/// 名称
@property (strong,nonatomic,nonnull)  NSString*  name;

/// 值
@property (strong,nonatomic,nonnull)  NSString*  value;


-(id) initWithName:(NSString*) name
    value:(NSString*)value;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface OperateAuthorityDTO :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 部门ID
@property (strong,nonatomic,nonnull)  NSNumber*  deptId;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 操作人
@property (strong,nonatomic,nonnull)  NSString*  operatorValue;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;


-(id) initWithId:(NSNumber*) idValue
    deptId:(NSNumber*)deptId
    deptName:(NSString*)deptName
    operatorValue:(NSString*)operatorValue
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface ReturnBillStatusResult :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 返还单号
@property (strong,nonatomic,nonnull)  NSString*  retrunBillId;

/// 状态
@property (strong,nonatomic,nonnull)  NSNumber*  status;

/// 状态名称
@property (strong,nonatomic,nonnull)  NSString*  statusName;

/// 驳回原因
@property (strong,nonatomic,nonnull)  NSString*  operatorValue;

/// 说明
@property (strong,nonatomic,nonnull)  NSString*  remark;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;


-(id) initWithId:(NSNumber*) idValue
    retrunBillId:(NSString*)retrunBillId
    status:(NSNumber*)status
    statusName:(NSString*)statusName
    operatorValue:(NSString*)operatorValue
    remark:(NSString*)remark
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface DistributorResult :NSObject

/// 渠道商ID
@property (strong,nonatomic,nonnull)  NSString*  distributorId;

/// 渠道商名称
@property (strong,nonatomic,nonnull)  NSString*  distributorName;

/// 京东云账户
@property (strong,nonatomic,nonnull)  NSString*  pin;

/// 合同编号
@property (strong,nonatomic,nonnull)  NSString*  contractNo;

/// 营业执照号
@property (strong,nonatomic,nonnull)  NSString*  businessLicense;

/// 法定代表人
@property (strong,nonatomic,nonnull)  NSString*  legalRepresentative;

/// 营业执照图片
@property (strong,nonatomic,nonnull)  NSString*  businessLicensePic;

/// 主营业务描述
@property (strong,nonatomic,nonnull)  NSString*  businessDesc;

/// 办公地址
@property (strong,nonatomic,nonnull)  NSString*  workAddress;

/// 联系人姓名
@property (strong,nonatomic,nonnull)  NSString*  contracter;

/// 联系人电话
@property (strong,nonatomic,nonnull)  NSString*  tel;

/// 邮箱
@property (strong,nonatomic,nonnull)  NSString*  email;

/// 所属地域
@property (strong,nonatomic,nonnull)  NSString*  region;

/// 入驻日期(一级渠道商手工录入、二级渠道商审批通过日期)
@property (strong,nonatomic,nonnull)  NSString*  settleTime;

/// 状态(0 审批中、2驳回、1 已入驻、3已停止合作)
@property (strong,nonatomic,nonnull)  NSNumber*  status;

/// 驳回原因
@property (strong,nonatomic,nonnull)  NSString*  reason;

/// 级次(0一级、1 二级)
@property (strong,nonatomic,nonnull)  NSNumber*  distributorLevel;

/// 渠道商类型(0合作伙伴、1 渠道代理)
@property (strong,nonatomic,nonnull)  NSNumber*  distributorType;

/// 上级渠道商ID
@property (strong,nonatomic,nonnull)  NSString*  parentDistributorId;

/// 所属部门(0企业线、1政府线)
@property (strong,nonatomic,nonnull)  NSNumber*  dept;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 京东云负责人(京东云人员erp或名称)
@property (strong,nonatomic,nonnull)  NSString*  erp;

/// CustomerCount
@property (strong,nonatomic,nonnull)  NSNumber*  customerCount;

/// 一级渠道商名称
@property (strong,nonatomic,nonnull)  NSString*  parentDistributorName;

/// 入驻时间
@property (strong,nonatomic,nonnull)  NSString*  settleTimeStr;

/// 服务商最大层级
@property (strong,nonatomic,nonnull)  NSNumber*  level;


-(id) initWithDistributorId:(NSString*) distributorId
    distributorName:(NSString*)distributorName
    pin:(NSString*)pin
    contractNo:(NSString*)contractNo
    businessLicense:(NSString*)businessLicense
    legalRepresentative:(NSString*)legalRepresentative
    businessLicensePic:(NSString*)businessLicensePic
    businessDesc:(NSString*)businessDesc
    workAddress:(NSString*)workAddress
    contracter:(NSString*)contracter
    tel:(NSString*)tel
    email:(NSString*)email
    region:(NSString*)region
    settleTime:(NSString*)settleTime
    status:(NSNumber*)status
    reason:(NSString*)reason
    distributorLevel:(NSNumber*)distributorLevel
    distributorType:(NSNumber*)distributorType
    parentDistributorId:(NSString*)parentDistributorId
    dept:(NSNumber*)dept
    deptName:(NSString*)deptName
    erp:(NSString*)erp
    customerCount:(NSNumber*)customerCount
    parentDistributorName:(NSString*)parentDistributorName
    settleTimeStr:(NSString*)settleTimeStr
    level:(NSNumber*)level;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface ReturnItemQuery :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 项目编码
@property (strong,nonatomic,nonnull)  NSNumber*  itemId;

/// 项目名称
@property (strong,nonatomic,nonnull)  NSString*  itemName;

/// 部门ID
@property (strong,nonatomic,nonnull)  NSNumber*  deptId;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 渠道商类型
@property (strong,nonatomic,nonnull)  NSNumber*  distributorType;

/// 返还类型
@property (strong,nonatomic,nonnull)  NSNumber*  returnType;

/// 项目条件
@property (strong,nonatomic,nonnull)  NSString*  conditionItem;

/// 周期类型
@property (strong,nonatomic,nonnull)  NSNumber*  circleType;

/// 周期名称
@property (strong,nonatomic,nonnull)  NSString*  circleName;

/// 说明
@property (strong,nonatomic,nonnull)  NSString*  remark;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;

/// 项目名称
@property (strong,nonatomic,nonnull)  NSString*  itemNameLike;

/// 当前页序号
@property (strong,nonatomic,nonnull)  NSNumber*  pageIndex;

/// 每页结果数量
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;

/// Offset
@property (strong,nonatomic,nonnull)  NSNumber*  offset;


-(id) initWithId:(NSNumber*) idValue
    itemId:(NSNumber*)itemId
    itemName:(NSString*)itemName
    deptId:(NSNumber*)deptId
    deptName:(NSString*)deptName
    distributorType:(NSNumber*)distributorType
    returnType:(NSNumber*)returnType
    conditionItem:(NSString*)conditionItem
    circleType:(NSNumber*)circleType
    circleName:(NSString*)circleName
    remark:(NSString*)remark
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn
    itemNameLike:(NSString*)itemNameLike
    pageIndex:(NSNumber*)pageIndex
    pageSize:(NSNumber*)pageSize
    offset:(NSNumber*)offset;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface Department :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 部门编号
@property (strong,nonatomic,nonnull)  NSString*  depId;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  depName;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  isDeleted;


-(id) initWithId:(NSNumber*) idValue
    depId:(NSString*)depId
    depName:(NSString*)depName
    isDeleted:(NSNumber*)isDeleted;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface ReturnRuleQuery :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 部门ID
@property (strong,nonatomic,nonnull)  NSNumber*  deptId;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 渠道商类型
@property (strong,nonatomic,nonnull)  NSNumber*  distributorType;

/// 是否返还标志
@property (strong,nonatomic,nonnull)  NSNumber*  isReturn;

/// 周期类型
@property (strong,nonatomic,nonnull)  NSNumber*  circleType;

/// 周期名称
@property (strong,nonatomic,nonnull)  NSString*  circleName;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;

/// 当前页序号
@property (strong,nonatomic,nonnull)  NSNumber*  pageIndex;

/// 每页结果数量
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;

/// Offset
@property (strong,nonatomic,nonnull)  NSNumber*  offset;


-(id) initWithId:(NSNumber*) idValue
    deptId:(NSNumber*)deptId
    deptName:(NSString*)deptName
    distributorType:(NSNumber*)distributorType
    isReturn:(NSNumber*)isReturn
    circleType:(NSNumber*)circleType
    circleName:(NSString*)circleName
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn
    pageIndex:(NSNumber*)pageIndex
    pageSize:(NSNumber*)pageSize
    offset:(NSNumber*)offset;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface DistributorDTO :NSObject

/// 渠道商ID
@property (strong,nonatomic,nonnull)  NSString*  distributorId;

/// 渠道商名称
@property (strong,nonatomic,nonnull)  NSString*  distributorName;

/// 京东云账户
@property (strong,nonatomic,nonnull)  NSString*  pin;

/// 合同编号
@property (strong,nonatomic,nonnull)  NSString*  contractNo;

/// 营业执照号
@property (strong,nonatomic,nonnull)  NSString*  businessLicense;

/// 法定代表人
@property (strong,nonatomic,nonnull)  NSString*  legalRepresentative;

/// 营业执照图片
@property (strong,nonatomic,nonnull)  NSString*  businessLicensePic;

/// 主营业务描述
@property (strong,nonatomic,nonnull)  NSString*  businessDesc;

/// 办公地址
@property (strong,nonatomic,nonnull)  NSString*  workAddress;

/// 联系人姓名
@property (strong,nonatomic,nonnull)  NSString*  contracter;

/// 联系人电话
@property (strong,nonatomic,nonnull)  NSString*  tel;

/// 邮箱
@property (strong,nonatomic,nonnull)  NSString*  email;

/// 所属地域
@property (strong,nonatomic,nonnull)  NSString*  region;

/// 入驻日期(一级渠道商手工录入、二级渠道商审批通过日期)
@property (strong,nonatomic,nonnull)  NSString*  settleTime;

/// 状态(0 审批中、2驳回、1 已入驻、3已停止合作)
@property (strong,nonatomic,nonnull)  NSNumber*  status;

/// 驳回原因
@property (strong,nonatomic,nonnull)  NSString*  reason;

/// 级次(0一级、1 二级)
@property (strong,nonatomic,nonnull)  NSNumber*  distributorLevel;

/// 渠道商类型(0合作伙伴、1 渠道代理)
@property (strong,nonatomic,nonnull)  NSNumber*  distributorType;

/// 上级渠道商ID
@property (strong,nonatomic,nonnull)  NSString*  parentDistributorId;

/// 银行开户名
@property (strong,nonatomic,nonnull)  NSString*  bankCompanyName;

/// 银行账户
@property (strong,nonatomic,nonnull)  NSString*  bankCardNo;

/// 开户行支行名称
@property (strong,nonatomic,nonnull)  NSString*  bankBranchName;

/// 开户行支行联行号
@property (strong,nonatomic,nonnull)  NSString*  bankBranchNo;

/// 合同主体
@property (strong,nonatomic,nonnull)  NSString*  contractSubject;

/// 所属部门(0企业线、1政府线)
@property (strong,nonatomic,nonnull)  NSNumber*  dept;

/// 京东云负责人(京东云人员erp或名称)
@property (strong,nonatomic,nonnull)  NSString*  erp;


-(id) initWithDistributorId:(NSString*) distributorId
    distributorName:(NSString*)distributorName
    pin:(NSString*)pin
    contractNo:(NSString*)contractNo
    businessLicense:(NSString*)businessLicense
    legalRepresentative:(NSString*)legalRepresentative
    businessLicensePic:(NSString*)businessLicensePic
    businessDesc:(NSString*)businessDesc
    workAddress:(NSString*)workAddress
    contracter:(NSString*)contracter
    tel:(NSString*)tel
    email:(NSString*)email
    region:(NSString*)region
    settleTime:(NSString*)settleTime
    status:(NSNumber*)status
    reason:(NSString*)reason
    distributorLevel:(NSNumber*)distributorLevel
    distributorType:(NSNumber*)distributorType
    parentDistributorId:(NSString*)parentDistributorId
    bankCompanyName:(NSString*)bankCompanyName
    bankCardNo:(NSString*)bankCardNo
    bankBranchName:(NSString*)bankBranchName
    bankBranchNo:(NSString*)bankBranchNo
    contractSubject:(NSString*)contractSubject
    dept:(NSNumber*)dept
    erp:(NSString*)erp;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface Distributor :NSObject

/// 渠道商ID
@property (strong,nonatomic,nonnull)  NSString*  distributorId;

/// 渠道商名称
@property (strong,nonatomic,nonnull)  NSString*  distributorName;

/// 京东云账户
@property (strong,nonatomic,nonnull)  NSString*  pin;

/// 合同编号
@property (strong,nonatomic,nonnull)  NSString*  contractNo;

/// 营业执照号
@property (strong,nonatomic,nonnull)  NSString*  businessLicense;

/// 法定代表人
@property (strong,nonatomic,nonnull)  NSString*  legalRepresentative;

/// 营业执照图片
@property (strong,nonatomic,nonnull)  NSString*  businessLicensePic;

/// 主营业务描述
@property (strong,nonatomic,nonnull)  NSString*  businessDesc;

/// 办公地址
@property (strong,nonatomic,nonnull)  NSString*  workAddress;

/// 联系人姓名
@property (strong,nonatomic,nonnull)  NSString*  contracter;

/// 联系人电话
@property (strong,nonatomic,nonnull)  NSString*  tel;

/// 邮箱
@property (strong,nonatomic,nonnull)  NSString*  email;

/// 所属地域
@property (strong,nonatomic,nonnull)  NSString*  region;

/// 入驻日期(一级渠道商手工录入、二级渠道商审批通过日期)
@property (strong,nonatomic,nonnull)  NSString*  settleTime;

/// 状态(0 审批中、2驳回、1 已入驻、3已停止合作)
@property (strong,nonatomic,nonnull)  NSNumber*  status;

/// 驳回原因
@property (strong,nonatomic,nonnull)  NSString*  reason;

/// 级次(0一级、1 二级)
@property (strong,nonatomic,nonnull)  NSNumber*  distributorLevel;

/// 渠道商类型(0合作伙伴、1 渠道代理)
@property (strong,nonatomic,nonnull)  NSNumber*  distributorType;

/// 上级渠道商ID
@property (strong,nonatomic,nonnull)  NSString*  parentDistributorId;

/// 所属部门(0企业线、1政府线)
@property (strong,nonatomic,nonnull)  NSNumber*  dept;

/// 京东云负责人(京东云人员erp或名称)
@property (strong,nonatomic,nonnull)  NSString*  erp;


-(id) initWithDistributorId:(NSString*) distributorId
    distributorName:(NSString*)distributorName
    pin:(NSString*)pin
    contractNo:(NSString*)contractNo
    businessLicense:(NSString*)businessLicense
    legalRepresentative:(NSString*)legalRepresentative
    businessLicensePic:(NSString*)businessLicensePic
    businessDesc:(NSString*)businessDesc
    workAddress:(NSString*)workAddress
    contracter:(NSString*)contracter
    tel:(NSString*)tel
    email:(NSString*)email
    region:(NSString*)region
    settleTime:(NSString*)settleTime
    status:(NSNumber*)status
    reason:(NSString*)reason
    distributorLevel:(NSNumber*)distributorLevel
    distributorType:(NSNumber*)distributorType
    parentDistributorId:(NSString*)parentDistributorId
    dept:(NSNumber*)dept
    erp:(NSString*)erp;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface OperateAuthority :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 部门ID
@property (strong,nonatomic,nonnull)  NSNumber*  deptId;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 操作人
@property (strong,nonatomic,nonnull)  NSString*  operatorValue;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;


-(id) initWithId:(NSNumber*) idValue
    deptId:(NSNumber*)deptId
    deptName:(NSString*)deptName
    operatorValue:(NSString*)operatorValue
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface ReturnItemResult :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 项目编码
@property (strong,nonatomic,nonnull)  NSNumber*  itemId;

/// 项目名称
@property (strong,nonatomic,nonnull)  NSString*  itemName;

/// 部门ID
@property (strong,nonatomic,nonnull)  NSNumber*  deptId;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 渠道商类型
@property (strong,nonatomic,nonnull)  NSNumber*  distributorType;

/// 渠道商类型名称
@property (strong,nonatomic,nonnull)  NSString*  distributorTypeName;

/// 返还类型
@property (strong,nonatomic,nonnull)  NSNumber*  returnType;

/// 项目条件
@property (strong,nonatomic,nonnull)  NSString*  conditionItem;

/// 项目条件名称
@property (strong,nonatomic,nonnull)  NSString*  conditionItemName;

/// 周期类型
@property (strong,nonatomic,nonnull)  NSNumber*  circleType;

/// 周期名称
@property (strong,nonatomic,nonnull)  NSString*  circleName;

/// 说明
@property (strong,nonatomic,nonnull)  NSString*  remark;

/// 使用标识（1在用，0未使用）
@property (strong,nonatomic,nonnull)  NSString*  useFlag;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;


-(id) initWithId:(NSNumber*) idValue
    itemId:(NSNumber*)itemId
    itemName:(NSString*)itemName
    deptId:(NSNumber*)deptId
    deptName:(NSString*)deptName
    distributorType:(NSNumber*)distributorType
    distributorTypeName:(NSString*)distributorTypeName
    returnType:(NSNumber*)returnType
    conditionItem:(NSString*)conditionItem
    conditionItemName:(NSString*)conditionItemName
    circleType:(NSNumber*)circleType
    circleName:(NSString*)circleName
    remark:(NSString*)remark
    useFlag:(NSString*)useFlag
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface ReturnRuleResult :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 部门ID
@property (strong,nonatomic,nonnull)  NSNumber*  deptId;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 渠道商类型
@property (strong,nonatomic,nonnull)  NSNumber*  distributorType;

/// 渠道商类型名称
@property (strong,nonatomic,nonnull)  NSString*  distributorTypeName;

/// 是否返还标志
@property (strong,nonatomic,nonnull)  NSNumber*  isReturn;

/// 周期类型
@property (strong,nonatomic,nonnull)  NSNumber*  circleType;

/// 周期名称
@property (strong,nonatomic,nonnull)  NSString*  circleName;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;


-(id) initWithId:(NSNumber*) idValue
    deptId:(NSNumber*)deptId
    deptName:(NSString*)deptName
    distributorType:(NSNumber*)distributorType
    distributorTypeName:(NSString*)distributorTypeName
    isReturn:(NSNumber*)isReturn
    circleType:(NSNumber*)circleType
    circleName:(NSString*)circleName
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface ReturnRuleDTO :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 部门ID
@property (strong,nonatomic,nonnull)  NSNumber*  deptId;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 渠道商类型
@property (strong,nonatomic,nonnull)  NSNumber*  distributorType;

/// 是否返还标志
@property (strong,nonatomic,nonnull)  NSNumber*  isReturn;

/// 周期类型
@property (strong,nonatomic,nonnull)  NSNumber*  circleType;

/// 周期名称
@property (strong,nonatomic,nonnull)  NSString*  circleName;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;


-(id) initWithId:(NSNumber*) idValue
    deptId:(NSNumber*)deptId
    deptName:(NSString*)deptName
    distributorType:(NSNumber*)distributorType
    isReturn:(NSNumber*)isReturn
    circleType:(NSNumber*)circleType
    circleName:(NSString*)circleName
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface DicDetail :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 字典类型
@property (strong,nonatomic,nonnull)  NSString*  codeType;

/// 字典编码
@property (strong,nonatomic,nonnull)  NSString*  code;

/// 字典编码名称
@property (strong,nonatomic,nonnull)  NSString*  name;

/// 字典编码值
@property (strong,nonatomic,nonnull)  NSString*  value;

/// null
@property (strong,nonatomic,nonnull)  NSNumber*  useFlag;

/// 系统类型
@property (strong,nonatomic,nonnull)  NSString*  systemType;

/// 引用值
@property (strong,nonatomic,nonnull)  NSString*  refValue;

/// 顺序
@property (strong,nonatomic,nonnull)  NSNumber*  seq;

/// 字典说明
@property (strong,nonatomic,nonnull)  NSString*  remark;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;


-(id) initWithId:(NSNumber*) idValue
    codeType:(NSString*)codeType
    code:(NSString*)code
    name:(NSString*)name
    value:(NSString*)value
    useFlag:(NSNumber*)useFlag
    systemType:(NSString*)systemType
    refValue:(NSString*)refValue
    seq:(NSNumber*)seq
    remark:(NSString*)remark
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface ReturnPolicyQuery :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 部门ID
@property (strong,nonatomic,nonnull)  NSNumber*  deptId;

/// 渠道商类型
@property (strong,nonatomic,nonnull)  NSNumber*  distributorType;

/// 返还类型
@property (strong,nonatomic,nonnull)  NSNumber*  returnType;

/// 项目编码
@property (strong,nonatomic,nonnull)  NSNumber*  itemId;

/// 项目名称
@property (strong,nonatomic,nonnull)  NSString*  itemName;

/// 周期类型
@property (strong,nonatomic,nonnull)  NSNumber*  circleType;

/// 周期名称
@property (strong,nonatomic,nonnull)  NSString*  circleName;

/// 指定周期标识
@property (strong,nonatomic,nonnull)  NSNumber*  circleFlag;

/// 周期值
@property (strong,nonatomic,nonnull)  NSNumber*  circleValue;

/// 条件
@property (strong,nonatomic,nonnull)  NSString*  condition;

/// 说明
@property (strong,nonatomic,nonnull)  NSString*  conditionRemark;

/// 返还比例
@property (strong,nonatomic,nonnull)  NSNumber*  returnRatio;

/// 状态
@property (strong,nonatomic,nonnull)  NSNumber*  status;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;

/// 项目名称
@property (strong,nonatomic,nonnull)  NSString*  itemNameLike;

/// 当前页序号
@property (strong,nonatomic,nonnull)  NSNumber*  pageIndex;

/// 每页结果数量
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;

/// Offset
@property (strong,nonatomic,nonnull)  NSNumber*  offset;


-(id) initWithId:(NSNumber*) idValue
    deptId:(NSNumber*)deptId
    distributorType:(NSNumber*)distributorType
    returnType:(NSNumber*)returnType
    itemId:(NSNumber*)itemId
    itemName:(NSString*)itemName
    circleType:(NSNumber*)circleType
    circleName:(NSString*)circleName
    circleFlag:(NSNumber*)circleFlag
    circleValue:(NSNumber*)circleValue
    condition:(NSString*)condition
    conditionRemark:(NSString*)conditionRemark
    returnRatio:(NSNumber*)returnRatio
    status:(NSNumber*)status
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn
    itemNameLike:(NSString*)itemNameLike
    pageIndex:(NSNumber*)pageIndex
    pageSize:(NSNumber*)pageSize
    offset:(NSNumber*)offset;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface DistributorQuery :NSObject

/// 渠道商ID
@property (strong,nonatomic,nonnull)  NSString*  distributorId;

/// 渠道商名称
@property (strong,nonatomic,nonnull)  NSString*  distributorName;

/// 京东云账户
@property (strong,nonatomic,nonnull)  NSString*  pin;

/// 合同编号
@property (strong,nonatomic,nonnull)  NSString*  contractNo;

/// 营业执照号
@property (strong,nonatomic,nonnull)  NSString*  businessLicense;

/// 法定代表人
@property (strong,nonatomic,nonnull)  NSString*  legalRepresentative;

/// 营业执照图片
@property (strong,nonatomic,nonnull)  NSString*  businessLicensePic;

/// 主营业务描述
@property (strong,nonatomic,nonnull)  NSString*  businessDesc;

/// 办公地址
@property (strong,nonatomic,nonnull)  NSString*  workAddress;

/// 联系人姓名
@property (strong,nonatomic,nonnull)  NSString*  contracter;

/// 联系人电话
@property (strong,nonatomic,nonnull)  NSString*  tel;

/// 邮箱
@property (strong,nonatomic,nonnull)  NSString*  email;

/// 所属地域
@property (strong,nonatomic,nonnull)  NSString*  region;

/// 入驻日期(一级渠道商手工录入、二级渠道商审批通过日期)
@property (strong,nonatomic,nonnull)  NSString*  settleTime;

/// 状态(0 审批中、2驳回、1 已入驻、3已停止合作)
@property (strong,nonatomic,nonnull)  NSNumber*  status;

/// 驳回原因
@property (strong,nonatomic,nonnull)  NSString*  reason;

/// 级次(0一级、1 二级)
@property (strong,nonatomic,nonnull)  NSNumber*  distributorLevel;

/// 渠道商类型(0合作伙伴、1 渠道代理)
@property (strong,nonatomic,nonnull)  NSNumber*  distributorType;

/// 上级渠道商pin
@property (strong,nonatomic,nonnull)  NSString*  parentPin;

/// 上级渠道商ID
@property (strong,nonatomic,nonnull)  NSString*  parentDistributorId;

/// 上级渠道商名称
@property (strong,nonatomic,nonnull)  NSString*  parentDistributorName;

/// 所属部门(0企业线、1政府线)
@property (strong,nonatomic,nonnull)  NSNumber*  dept;

/// 京东云负责人(京东云人员erp或名称)
@property (strong,nonatomic,nonnull)  NSString*  erp;

/// 入驻条件开始日期
@property (strong,nonatomic,nonnull)  NSString*  settleTimeBegin;

/// 入驻条件结束日期
@property (strong,nonatomic,nonnull)  NSString*  settleTimeEnd;

/// 当前页序号
@property (strong,nonatomic,nonnull)  NSNumber*  pageIndex;

/// 每页结果数量
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;

/// Offset
@property (strong,nonatomic,nonnull)  NSNumber*  offset;


-(id) initWithDistributorId:(NSString*) distributorId
    distributorName:(NSString*)distributorName
    pin:(NSString*)pin
    contractNo:(NSString*)contractNo
    businessLicense:(NSString*)businessLicense
    legalRepresentative:(NSString*)legalRepresentative
    businessLicensePic:(NSString*)businessLicensePic
    businessDesc:(NSString*)businessDesc
    workAddress:(NSString*)workAddress
    contracter:(NSString*)contracter
    tel:(NSString*)tel
    email:(NSString*)email
    region:(NSString*)region
    settleTime:(NSString*)settleTime
    status:(NSNumber*)status
    reason:(NSString*)reason
    distributorLevel:(NSNumber*)distributorLevel
    distributorType:(NSNumber*)distributorType
    parentPin:(NSString*)parentPin
    parentDistributorId:(NSString*)parentDistributorId
    parentDistributorName:(NSString*)parentDistributorName
    dept:(NSNumber*)dept
    erp:(NSString*)erp
    settleTimeBegin:(NSString*)settleTimeBegin
    settleTimeEnd:(NSString*)settleTimeEnd
    pageIndex:(NSNumber*)pageIndex
    pageSize:(NSNumber*)pageSize
    offset:(NSNumber*)offset;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface ReturnBillQuery :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 返还单号
@property (strong,nonatomic,nonnull)  NSString*  retrunBillId;

/// 服务商ID
@property (strong,nonatomic,nonnull)  NSString*  distributorId;

/// pin
@property (strong,nonatomic,nonnull)  NSString*  pin;

/// 部门ID
@property (strong,nonatomic,nonnull)  NSNumber*  deptId;

/// 渠道商类型
@property (strong,nonatomic,nonnull)  NSNumber*  distributorType;

/// 服务商名称
@property (strong,nonatomic,nonnull)  NSString*  distributorName;

/// month
@property (strong,nonatomic,nonnull)  NSString*  month;

/// 生成时间
@property (strong,nonatomic,nonnull)  NSString*  generateTime;

/// 开始时间
@property (strong,nonatomic,nonnull)  NSString*  billBegin;

/// 结束时间
@property (strong,nonatomic,nonnull)  NSString*  billEnd;

/// 周期类型
@property (strong,nonatomic,nonnull)  NSNumber*  circleType;

/// 返还类型
@property (strong,nonatomic,nonnull)  NSNumber*  returnType;

/// 返还金额
@property (strong,nonatomic,nonnull)  NSNumber*  returnMount;

/// 状态
@property (strong,nonatomic,nonnull)  NSNumber*  status;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;

/// 驳回原因
@property (strong,nonatomic,nonnull)  NSString*  reason;

/// 开始时间
@property (strong,nonatomic,nonnull)  NSString*  beginTime;

/// 结束时间
@property (strong,nonatomic,nonnull)  NSString*  endTime;

/// 当前页序号
@property (strong,nonatomic,nonnull)  NSNumber*  pageIndex;

/// 每页结果数量
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;

/// Offset
@property (strong,nonatomic,nonnull)  NSNumber*  offset;


-(id) initWithId:(NSNumber*) idValue
    retrunBillId:(NSString*)retrunBillId
    distributorId:(NSString*)distributorId
    pin:(NSString*)pin
    deptId:(NSNumber*)deptId
    distributorType:(NSNumber*)distributorType
    distributorName:(NSString*)distributorName
    month:(NSString*)month
    generateTime:(NSString*)generateTime
    billBegin:(NSString*)billBegin
    billEnd:(NSString*)billEnd
    circleType:(NSNumber*)circleType
    returnType:(NSNumber*)returnType
    returnMount:(NSNumber*)returnMount
    status:(NSNumber*)status
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn
    reason:(NSString*)reason
    beginTime:(NSString*)beginTime
    endTime:(NSString*)endTime
    pageIndex:(NSNumber*)pageIndex
    pageSize:(NSNumber*)pageSize
    offset:(NSNumber*)offset;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface OperatorPrePayAchievement :NSObject

/// pin
@property (strong,nonatomic,nonnull)  NSString*  pin;

/// 名称
@property (strong,nonatomic,nonnull)  NSString*  name;

/// 真实名称
@property (strong,nonatomic,nonnull)  NSString*  realName;

/// 部门
@property (strong,nonatomic,nonnull)  NSNumber*  dept;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 服务商类型
@property (strong,nonatomic,nonnull)  NSString*  distributorType;

/// 服务商类型名称
@property (strong,nonatomic,nonnull)  NSString*  distributorTypeName;

/// 一级服务商名称
@property (strong,nonatomic,nonnull)  NSString*  oneLevelDistributorName;

/// 二级服务商名称
@property (strong,nonatomic,nonnull)  NSString*  secondLevelDistributorName;

/// 上级服务商名称
@property (strong,nonatomic,nonnull)  NSString*  superDistributorName;

/// 上级服务商pin
@property (strong,nonatomic,nonnull)  NSString*  superDistributorPin;

/// serviceCode
@property (strong,nonatomic,nonnull)  NSString*  serviceCode;

/// serviceCodeName
@property (strong,nonatomic,nonnull)  NSString*  serviceCodeName;

/// opType
@property (strong,nonatomic,nonnull)  NSNumber*  opType;

/// opTypeName
@property (strong,nonatomic,nonnull)  NSString*  opTypeName;

/// 开始时间
@property (strong,nonatomic,nonnull)  NSString*  billTime;

/// 完成时间
@property (strong,nonatomic,nonnull)  NSString*  consumeDate;

/// 交易单号
@property (strong,nonatomic,nonnull)  NSString*  transactionNo;

/// 优惠前金额
@property (strong,nonatomic,nonnull)  NSNumber*  consumeCount;

/// 现金支付
@property (strong,nonatomic,nonnull)  NSNumber*  cashPayFeeCount;

/// 业绩金额
@property (strong,nonatomic,nonnull)  NSNumber*  achievmentCount;

/// 付费代金卷金额
@property (strong,nonatomic,nonnull)  NSNumber*  payCouponFeeCount;

/// 免费代金卷金额
@property (strong,nonatomic,nonnull)  NSNumber*  freeCouponFeeCount;


-(id) initWithPin:(NSString*) pin
    name:(NSString*)name
    realName:(NSString*)realName
    dept:(NSNumber*)dept
    deptName:(NSString*)deptName
    distributorType:(NSString*)distributorType
    distributorTypeName:(NSString*)distributorTypeName
    oneLevelDistributorName:(NSString*)oneLevelDistributorName
    secondLevelDistributorName:(NSString*)secondLevelDistributorName
    superDistributorName:(NSString*)superDistributorName
    superDistributorPin:(NSString*)superDistributorPin
    serviceCode:(NSString*)serviceCode
    serviceCodeName:(NSString*)serviceCodeName
    opType:(NSNumber*)opType
    opTypeName:(NSString*)opTypeName
    billTime:(NSString*)billTime
    consumeDate:(NSString*)consumeDate
    transactionNo:(NSString*)transactionNo
    consumeCount:(NSNumber*)consumeCount
    cashPayFeeCount:(NSNumber*)cashPayFeeCount
    achievmentCount:(NSNumber*)achievmentCount
    payCouponFeeCount:(NSNumber*)payCouponFeeCount
    freeCouponFeeCount:(NSNumber*)freeCouponFeeCount;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface Customer :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 客户pin
@property (strong,nonatomic,nonnull)  NSString*  pin;

/// 渠道商ID
@property (strong,nonatomic,nonnull)  NSString*  distributorId;

/// 渠道商PIN
@property (strong,nonatomic,nonnull)  NSString*  distributorPin;

/// 渠道商名称
@property (strong,nonatomic,nonnull)  NSString*  distributorName;

/// 渠道商级次
@property (strong,nonatomic,nonnull)  NSString*  distributorLevel;

/// 关联时间
@property (strong,nonatomic,nonnull)  NSString*  relTime;

/// 来源(0渠道商自身,1京东云客户)
@property (strong,nonatomic,nonnull)  NSNumber*  source;

/// 客户昵称
@property (strong,nonatomic,nonnull)  NSString*  aliasName;

/// 客户联系人
@property (strong,nonatomic,nonnull)  NSString*  contracter;

/// 客户电话
@property (strong,nonatomic,nonnull)  NSString*  tel;

/// 客户邮箱
@property (strong,nonatomic,nonnull)  NSString*  email;

/// 客户备注
@property (strong,nonatomic,nonnull)  NSString*  remark;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 账户类型
@property (strong,nonatomic,nonnull)  NSString*  accountTypeName;

/// 实名标识名称
@property (strong,nonatomic,nonnull)  NSString*  realName;

/// 名称
@property (strong,nonatomic,nonnull)  NSString*  name;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;


-(id) initWithId:(NSNumber*) idValue
    pin:(NSString*)pin
    distributorId:(NSString*)distributorId
    distributorPin:(NSString*)distributorPin
    distributorName:(NSString*)distributorName
    distributorLevel:(NSString*)distributorLevel
    relTime:(NSString*)relTime
    source:(NSNumber*)source
    aliasName:(NSString*)aliasName
    contracter:(NSString*)contracter
    tel:(NSString*)tel
    email:(NSString*)email
    remark:(NSString*)remark
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    accountTypeName:(NSString*)accountTypeName
    realName:(NSString*)realName
    name:(NSString*)name
    yn:(NSNumber*)yn;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface Pagination :NSObject

/// 当前页
@property (strong,nonatomic,nonnull)  NSNumber*  currPageNo;

/// 页数
@property (strong,nonatomic,nonnull)  NSNumber*  numberPages;

/// 每页记录数
@property (strong,nonatomic,nonnull)  NSNumber*  numberRecords;

/// 页面大小
@property (strong,nonatomic,nonnull)  NSNumber*  pageSize;

/// 起始页
@property (strong,nonatomic,nonnull)  NSNumber*  startIndex;


-(id) initWithCurrPageNo:(NSNumber*) currPageNo
    numberPages:(NSNumber*)numberPages
    numberRecords:(NSNumber*)numberRecords
    pageSize:(NSNumber*)pageSize
    startIndex:(NSNumber*)startIndex;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface OrderItemDetail :NSObject

/// 价格快照Json
@property (strong,nonatomic,nonnull)  NSString*  priceSnapshot;

/// 变更前资源配置
@property (strong,nonatomic,nonnull)  NSArray<ExtraInfo*>*  extraInfoBefore;

/// 变更后资源配置
@property (strong,nonatomic,nonnull)  NSArray<ExtraInfo*>*  extraInfoAfter;

/// 商品规格参数
@property (strong,nonatomic,nonnull)  NSArray<ExtraInfo*>*  extraInfo;

/// 应付金额（元）
@property (strong,nonatomic,nonnull)  NSNumber*  actualFee;

/// 数量
@property (strong,nonatomic,nonnull)  NSNumber*  quantity;

/// 续费前资源到期时间
@property (strong,nonatomic,nonnull)  NSString*  expireDateBefore;

/// 续费后资源到期时间
@property (strong,nonatomic,nonnull)  NSString*  expireDateAfter;

/// 计费时长单位
@property (strong,nonatomic,nonnull)  NSString*  unit;

/// 计费时长（购买时长）
@property (strong,nonatomic,nonnull)  NSNumber*  chargeDuration;

/// 计费类型
@property (strong,nonatomic,nonnull)  NSString*  chargeMode;

/// 订单总额（元）
@property (strong,nonatomic,nonnull)  NSNumber*  totalFee;

/// 资源类型
@property (strong,nonatomic,nonnull)  NSString*  serviceName;

/// 站点类型 0：主站,1：国际站,2：云市场
@property (strong,nonatomic,nonnull)  NSString*  siteType;

/// 下单时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 订单商品状态：创建中、成功、失败
@property (strong,nonatomic,nonnull)  NSNumber*  status;

/// 资源id
@property (strong,nonatomic,nonnull)  NSString*  itemId;

/// 资源名称
@property (strong,nonatomic,nonnull)  NSString*  itemName;

/// 计算公式（配置细项）
@property (strong,nonatomic,nonnull)  NSString*  formula;

/// 订单编号
@property (strong,nonatomic,nonnull)  NSString*  orderNumber;

/// 实际支付总金额
@property (strong,nonatomic,nonnull)  NSNumber*  allActualFee;

/// 备注
@property (strong,nonatomic,nonnull)  NSString*  remark;

/// 现金支付
@property (strong,nonatomic,nonnull)  NSNumber*  moneyPay;

/// 余额支付
@property (strong,nonatomic,nonnull)  NSNumber*  balancePay;

/// 已退款金额
@property (strong,nonatomic,nonnull)  NSNumber*  refundFee;

/// 订单计费类型：按配置、包年包月、按用量actualFee
@property (strong,nonatomic,nonnull)  NSNumber*  chargeModeInfo;

/// 退款状态 RefundStatusEnum 0,申请退款 1,退款审核中 2,已退款 3,已取消 4,退款失败 5,财务审批驳回 6,财务审批通过
@property (strong,nonatomic,nonnull)  NSNumber*  deleteStatus;

/// 代金券金额
@property (strong,nonatomic,nonnull)  NSNumber*  favorableFee;

/// 变配明细
@property (strong,nonatomic,nonnull)  NSNumber*  resizeFormulaType;


-(id) initWithPriceSnapshot:(NSString*) priceSnapshot
    extraInfoBefore:(NSArray<ExtraInfo*>*)extraInfoBefore
    extraInfoAfter:(NSArray<ExtraInfo*>*)extraInfoAfter
    extraInfo:(NSArray<ExtraInfo*>*)extraInfo
    actualFee:(NSNumber*)actualFee
    quantity:(NSNumber*)quantity
    expireDateBefore:(NSString*)expireDateBefore
    expireDateAfter:(NSString*)expireDateAfter
    unit:(NSString*)unit
    chargeDuration:(NSNumber*)chargeDuration
    chargeMode:(NSString*)chargeMode
    totalFee:(NSNumber*)totalFee
    serviceName:(NSString*)serviceName
    siteType:(NSString*)siteType
    createTime:(NSString*)createTime
    status:(NSNumber*)status
    itemId:(NSString*)itemId
    itemName:(NSString*)itemName
    formula:(NSString*)formula
    orderNumber:(NSString*)orderNumber
    allActualFee:(NSNumber*)allActualFee
    remark:(NSString*)remark
    moneyPay:(NSNumber*)moneyPay
    balancePay:(NSNumber*)balancePay
    refundFee:(NSNumber*)refundFee
    chargeModeInfo:(NSNumber*)chargeModeInfo
    deleteStatus:(NSNumber*)deleteStatus
    favorableFee:(NSNumber*)favorableFee
    resizeFormulaType:(NSNumber*)resizeFormulaType;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface ReturnBillResult :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 返还单号
@property (strong,nonatomic,nonnull)  NSString*  retrunBillId;

/// 服务商ID
@property (strong,nonatomic,nonnull)  NSString*  distributorId;

/// 服务商名称
@property (strong,nonatomic,nonnull)  NSString*  distributorName;

/// 渠道商类型
@property (strong,nonatomic,nonnull)  NSNumber*  distributorType;

/// month
@property (strong,nonatomic,nonnull)  NSString*  month;

/// 生成时间
@property (strong,nonatomic,nonnull)  NSString*  generateTime;

/// 开始时间
@property (strong,nonatomic,nonnull)  NSString*  billBegin;

/// 结束时间
@property (strong,nonatomic,nonnull)  NSString*  billEnd;

/// 周期类型
@property (strong,nonatomic,nonnull)  NSNumber*  circleType;

/// 返还类型
@property (strong,nonatomic,nonnull)  NSNumber*  returnType;

/// 返还类型名称
@property (strong,nonatomic,nonnull)  NSString*  returnTypeName;

/// 返还金额
@property (strong,nonatomic,nonnull)  NSNumber*  returnMount;

/// 次数
@property (strong,nonatomic,nonnull)  NSNumber*  redoQty;

/// 状态
@property (strong,nonatomic,nonnull)  NSNumber*  status;

/// 状态名称
@property (strong,nonatomic,nonnull)  NSString*  statusName;

/// 驳回原因
@property (strong,nonatomic,nonnull)  NSString*  reason;

/// 部门ID
@property (strong,nonatomic,nonnull)  NSNumber*  deptId;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;

/// 返还单明细
@property (strong,nonatomic,nonnull)  NSArray<ReturnBillDetailResult*>*  returnBillDetailList;

/// 返还单状态
@property (strong,nonatomic,nonnull)  NSArray<ReturnBillStatusResult*>*  returnBillStatusList;


-(id) initWithId:(NSNumber*) idValue
    retrunBillId:(NSString*)retrunBillId
    distributorId:(NSString*)distributorId
    distributorName:(NSString*)distributorName
    distributorType:(NSNumber*)distributorType
    month:(NSString*)month
    generateTime:(NSString*)generateTime
    billBegin:(NSString*)billBegin
    billEnd:(NSString*)billEnd
    circleType:(NSNumber*)circleType
    returnType:(NSNumber*)returnType
    returnTypeName:(NSString*)returnTypeName
    returnMount:(NSNumber*)returnMount
    redoQty:(NSNumber*)redoQty
    status:(NSNumber*)status
    statusName:(NSString*)statusName
    reason:(NSString*)reason
    deptId:(NSNumber*)deptId
    deptName:(NSString*)deptName
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn
    returnBillDetailList:(NSArray<ReturnBillDetailResult*>*)returnBillDetailList
    returnBillStatusList:(NSArray<ReturnBillStatusResult*>*)returnBillStatusList;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface ReturnPolicyDTO :NSObject

/// ID
@property (strong,nonatomic,nonnull)  NSNumber*  idValue;

/// 部门ID
@property (strong,nonatomic,nonnull)  NSNumber*  deptId;

/// 部门名称
@property (strong,nonatomic,nonnull)  NSString*  deptName;

/// 渠道商类型
@property (strong,nonatomic,nonnull)  NSNumber*  distributorType;

/// 返还类型
@property (strong,nonatomic,nonnull)  NSNumber*  returnType;

/// 项目编码
@property (strong,nonatomic,nonnull)  NSNumber*  itemId;

/// 项目名称
@property (strong,nonatomic,nonnull)  NSString*  itemName;

/// 周期类型
@property (strong,nonatomic,nonnull)  NSNumber*  circleType;

/// 周期名称
@property (strong,nonatomic,nonnull)  NSString*  circleName;

/// 指定周期标识
@property (strong,nonatomic,nonnull)  NSNumber*  circleFlag;

/// 周期值
@property (strong,nonatomic,nonnull)  NSNumber*  circleValue;

/// Condition
@property (strong,nonatomic,nonnull)  NSArray<ReturnConditionOperatorDTO*>*  condition;

/// 说明
@property (strong,nonatomic,nonnull)  NSString*  conditionRemark;

/// 返还比例
@property (strong,nonatomic,nonnull)  NSNumber*  returnRatio;

/// 状态
@property (strong,nonatomic,nonnull)  NSNumber*  status;

/// 创建时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 创建人
@property (strong,nonatomic,nonnull)  NSString*  createUser;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updateTime;

/// 修改人
@property (strong,nonatomic,nonnull)  NSString*  updateUser;

/// 是否删除0未删除,1已删除
@property (strong,nonatomic,nonnull)  NSNumber*  yn;


-(id) initWithId:(NSNumber*) idValue
    deptId:(NSNumber*)deptId
    deptName:(NSString*)deptName
    distributorType:(NSNumber*)distributorType
    returnType:(NSNumber*)returnType
    itemId:(NSNumber*)itemId
    itemName:(NSString*)itemName
    circleType:(NSNumber*)circleType
    circleName:(NSString*)circleName
    circleFlag:(NSNumber*)circleFlag
    circleValue:(NSNumber*)circleValue
    condition:(NSArray<ReturnConditionOperatorDTO*>*)condition
    conditionRemark:(NSString*)conditionRemark
    returnRatio:(NSNumber*)returnRatio
    status:(NSNumber*)status
    createTime:(NSString*)createTime
    createUser:(NSString*)createUser
    updateTime:(NSString*)updateTime
    updateUser:(NSString*)updateUser
    yn:(NSNumber*)yn;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end
@interface OrderDetail :NSObject

/// 订单详情列表
@property (strong,nonatomic,nonnull)  NSArray<OrderItemDetail*>*  orderItemDetails;

/// 子订单列表
@property (strong,nonatomic,nonnull)  NSArray<OrderDetail*>*  childOrderDetailList;

/// 订单编号
@property (strong,nonatomic,nonnull)  NSString*  orderNumber;

/// 订单状态:已支付
@property (strong,nonatomic,nonnull)  NSString*  status;

/// 订单类型
@property (strong,nonatomic,nonnull)  NSString*  orderType;

/// 订单计费类型：按配置、包年包月、按用量
@property (strong,nonatomic,nonnull)  NSString*  chargeMode;

/// 产品线
@property (strong,nonatomic,nonnull)  NSString*  appName;

/// 产品名称(产品类型)
@property (strong,nonatomic,nonnull)  NSString*  serviceName;

/// 付费方式
@property (strong,nonatomic,nonnull)  NSString*  payType;

/// 自营类型：1-自营，2-非自营，3-二者并存
@property (strong,nonatomic,nonnull)  NSString*  selfSupportType;

/// 站点类型 0：主站,1：国际站,2：云市场
@property (strong,nonatomic,nonnull)  NSString*  siteType;

/// 下单时间
@property (strong,nonatomic,nonnull)  NSString*  createTime;

/// 支付时间
@property (strong,nonatomic,nonnull)  NSString*  payTime;

/// 应付价格是否被修改过：0-未修改，1-已修改
@property (strong,nonatomic,nonnull)  NSString*  isActualFeeModified;

/// 订单总额（元）
@property (strong,nonatomic,nonnull)  NSNumber*  totalFee;

/// 应付总额（元）
@property (strong,nonatomic,nonnull)  NSNumber*  actualFee;

/// 优惠总额（元）
@property (strong,nonatomic,nonnull)  NSNumber*  discountFee;

/// 已支付总额（元）
@property (strong,nonatomic,nonnull)  NSNumber*  paidFee;

/// 代金券金额（元）
@property (strong,nonatomic,nonnull)  NSNumber*  favorableFee;

/// 代金券Json
@property (strong,nonatomic,nonnull)  NSString*  favorableFeeJson;

/// 现金支付
@property (strong,nonatomic,nonnull)  NSNumber*  moneyPay;

/// 余额支付
@property (strong,nonatomic,nonnull)  NSNumber*  balancePay;

/// 支付确认页地址
@property (strong,nonatomic,nonnull)  NSString*  payUrl;

/// 用户pin
@property (strong,nonatomic,nonnull)  NSString*  pin;

/// 备注
@property (strong,nonatomic,nonnull)  NSString*  remark;

/// 自动取消时间
@property (strong,nonatomic,nonnull)  NSString*  expirationTime;

/// 已退款金额
@property (strong,nonatomic,nonnull)  NSNumber*  refundFee;

/// 订单类型：新购、续费、升降配
@property (strong,nonatomic,nonnull)  NSNumber*  orderTypeInfo;

/// 订单计费类型：按配置、包年包月、按用量actualFee
@property (strong,nonatomic,nonnull)  NSNumber*  chargeModeInfo;

/// 订单状态：未支付、已支付、处理中、已取消
@property (strong,nonatomic,nonnull)  NSNumber*  statusInfo;

/// 自营类型：1-自营，2-非自营，3-二者并存
@property (strong,nonatomic,nonnull)  NSNumber*  selfSupportTypeInfo;

/// 现金支付方式（企业、个人网银、京东支付、微信、线下汇款）
@property (strong,nonatomic,nonnull)  NSNumber*  paymentChannel;

/// 修改时间
@property (strong,nonatomic,nonnull)  NSString*  updatedTime;

/// 支付单号
@property (strong,nonatomic,nonnull)  NSString*  paymentNumber;

/// 付款人
@property (strong,nonatomic,nonnull)  NSString*  payer;

/// 申请人
@property (strong,nonatomic,nonnull)  NSString*  proposer;

/// 应用code
@property (strong,nonatomic,nonnull)  NSString*  appCode;


-(id) initWithOrderItemDetails:(NSArray<OrderItemDetail*>*) orderItemDetails
    childOrderDetailList:(NSArray<OrderDetail*>*)childOrderDetailList
    orderNumber:(NSString*)orderNumber
    status:(NSString*)status
    orderType:(NSString*)orderType
    chargeMode:(NSString*)chargeMode
    appName:(NSString*)appName
    serviceName:(NSString*)serviceName
    payType:(NSString*)payType
    selfSupportType:(NSString*)selfSupportType
    siteType:(NSString*)siteType
    createTime:(NSString*)createTime
    payTime:(NSString*)payTime
    isActualFeeModified:(NSString*)isActualFeeModified
    totalFee:(NSNumber*)totalFee
    actualFee:(NSNumber*)actualFee
    discountFee:(NSNumber*)discountFee
    paidFee:(NSNumber*)paidFee
    favorableFee:(NSNumber*)favorableFee
    favorableFeeJson:(NSString*)favorableFeeJson
    moneyPay:(NSNumber*)moneyPay
    balancePay:(NSNumber*)balancePay
    payUrl:(NSString*)payUrl
    pin:(NSString*)pin
    remark:(NSString*)remark
    expirationTime:(NSString*)expirationTime
    refundFee:(NSNumber*)refundFee
    orderTypeInfo:(NSNumber*)orderTypeInfo
    chargeModeInfo:(NSNumber*)chargeModeInfo
    statusInfo:(NSNumber*)statusInfo
    selfSupportTypeInfo:(NSNumber*)selfSupportTypeInfo
    paymentChannel:(NSNumber*)paymentChannel
    updatedTime:(NSString*)updatedTime
    paymentNumber:(NSString*)paymentNumber
    payer:(NSString*)payer
    proposer:(NSString*)proposer
    appCode:(NSString*)appCode;
-(NSMutableDictionary*) dictionary;

-(id) initWithDic:(NSDictionary*)dictionary;                    
@end

#endif /* PartnerModel_h */
